/*
 * @Author: qinuoyun
 * @Date:   2019-10-30 10:43:21
 * @Last Modified by:   qinuoyun
 * @Last Modified time: 2019-11-28 17:01:58
 */

import attribute from './attribute'

import content from './index.vue'

import dataBind from '../../../plugins/data-bind'

import actionBind from '../../../plugins/action-bind'

import tool from '../../../plugins/components-tool/'

export default {
  title: '按钮',
  name: "button",
  icon: 'el-icon-eleme',
  data: {
    type: 'primary',
    size: 'medium',
    name: '按钮',
    gather: '',
    field: '',
    is_tips: false,
    tips: "您确定执行该操作吗？",
    is_type: 'action',
    action: "",
    directive: ""
  },
  slot: [],
  regulation: {
    amount: 0,
    level: false,
    scope: ['col', 'table']
  },
  components: content,
  attributes: [{
    title: "设置属性",
    components: attribute,
    data: {},
    tool: tool
  }, {
    title: "事件绑定",
    components: actionBind,
    data: {},
    tool: false
  }]
}
